<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us">
<head>
  <link href="https://gmpg.org/xfn/11" rel="profile">
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
  <meta name="generator" content="Hugo 0.79.1" />

  
  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <title>yf33</title>
  <meta name="description" content="" />

  
  <link type="text/css" rel="stylesheet" href="https://yf33.gitee.io/blog/css/print.css" media="print">
  <link type="text/css" rel="stylesheet" href="https://yf33.gitee.io/blog/css/poole.css">
  <link type="text/css" rel="stylesheet" href="https://yf33.gitee.io/blog/css/syntax.css">
  <link type="text/css" rel="stylesheet" href="https://yf33.gitee.io/blog/css/hyde.css">
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Abril+Fatface|PT+Sans:400,400i,700">


  
  <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144-precomposed.png">
  <link rel="shortcut icon" href="/favicon.png">

  
  <link href="https://yf33.gitee.io/blog/index.xml" rel="alternate" type="application/rss+xml" title="yf33" />
  
</head>

  <body class=" ">
  <aside class="sidebar">
  <div class="container sidebar-sticky">
    <div class="sidebar-about">
      <a href="https://yf33.gitee.io/blog/"><h1>yf33</h1></a>
    </div>
    <nav>
      <ul class="sidebar-nav">
        <li><a href="https://yf33.gitee.io/blog/">Home</a> </li>
        
      </ul>
    </nav>

    <p>&copy; 2021. All rights reserved. </p>
  </div>
</aside>

    <main class="content container">
    <div class="posts">
<article class="post">
  <h1 class="post-title">
    <a href="https://yf33.gitee.io/blog/post/%E7%BD%91%E7%AB%99%E5%8F%91%E5%B8%83/">网站发布</a>
  </h1>
  <time datetime="2021-01-30T19:36:08&#43;0800" class="post-date">Sat, Jan 30, 2021</time>
  说明 如何将编写的文档,免费发布到网上
实现说明：
 gitee 托管文档 upic 图片自动上传 typora做文档编辑器   环境准备 brew install hugo 新建项目 注册并登录 gitee.com
下载upic https://github.com/gee1k/uPic/releases
生成gitee秘钥 文档编写 安装typora https://typora.io/
hugo new site post #新建一个网站 cd post/themes &amp;&amp; git clone https://github.com/spf13/hyde.git #下载网站主题 hugo new post/测试页.md open content/post/测试页.md hugo server --theme=hyde --buildDrafts #查看编写效果 http://localhost:1313/blog/ 设置图片上传 网站发布 yang@pro blog % cat config.toml baseURL = &#34;https://yf33.gitee.io/blog/&#34; languageCode = &#34;en-us&#34; title = &#34;yf33&#34; theme = &#34;hyde&#34; hugo -D #代码编译 git add .
  
  <div class="read-more-link">
    <a href="/blog/post/%E7%BD%91%E7%AB%99%E5%8F%91%E5%B8%83/">Read More…</a>
  </div>
  
</article><article class="post">
  <h1 class="post-title">
    <a href="https://yf33.gitee.io/blog/about/">About</a>
  </h1>
  <time datetime="2021-01-30T18:49:06&#43;0800" class="post-date">Sat, Jan 30, 2021</time>
  我的第一个hugo 博客  hello world hello boy hello mm  
  
</article>
</div>
    </main>

    
      
    
  </body>
</html>
